package com.alon.spring01.mapper;
import org.apache.ibatis.annotations.Param;


import com.alon.spring01.model.Country;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.session.RowBounds;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * mapp 接口
 */

public interface CountryMapper extends Mapper<Country> {

    /**
     * 通过countryName查询
     */
    @Select("SELECT * FROM `country` WHERE countryname = #{countryname} ")
    Country selectCountryname(String countryname);

    List<Country> find();



}
